  -- Zereketh the Unbound --
function spell0_20870(pUnit, Event) --@Shadow Nova,n/a--
pUnit:FullCastSpellOnTarget(36127,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20870', 1500, 1)
end
function spell1_20870(pUnit, Event) --@Shadow Nova,n/a--
pUnit:FullCastSpellOnTarget(39005,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20870', 1500, 1)
end
function spell2_20870(pUnit, Event) --@Void Zone,n/a--
pUnit:FullCastSpellOnTarget(36119,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20870', 25425, 1)
end
function Sorts_20870(pUnit, Event)
choix_sorts_20870 = math.random(0, 2)
if choix_sorts_20870 == 0 then
pUnit:RegisterEvent('spell0_20870', 1, 1)
end
if choix_sorts_20870 == 1 then
pUnit:RegisterEvent('spell1_20870', 1, 1)
end
if choix_sorts_20870 == 2 then
pUnit:RegisterEvent('spell2_20870', 1, 1)
end
end
function mob20870_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20870', math.random(1500, 3000), 1)
end
function mob20870_Leave(pUnit, Event)
end
function mob20870_Kill(pUnit, Event)
end
function mob20870_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(20870, 1, 'mob20870_Action')
RegisterUnitEvent(20870, 2, 'mob20870_Leave')
RegisterUnitEvent(20870, 3, 'mob20870_Kill')
RegisterUnitEvent(20870, 4, 'mob20870_Die')
